package me.zhengjie.modules.management.mapper;


import me.zhengjie.modules.management.domain.MrConferencePurpose;
import me.zhengjie.modules.management.service.dto.MrConferencePurposeCriteria;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @program: eladmin
 * @description: 会议目标
 * @author: ming.cao
 * @create: 2020-12-05 14:05
 **/
@Mapper
public interface MrConferencePurposeMapper {
    /**
     * @title: getAllList
     * @description: 获取所有培训室目的list
     * @date: 2020/12/5 14:09
     * @author: ming.cao
     * @param
     * @return java.util.List<me.zhengjie.modules.management.domain.MrConferencePurpose>
     * @throws
     */
    List<MrConferencePurpose> getAllList(MrConferencePurposeCriteria criteria);

    /**
     * @title: getMrConferencePurpose
     * @description: 更具id获取目的
     * @date: 2020/12/10 11:14
     * @author: ming.cao
     * @param id
     * @return me.zhengjie.modules.management.domain.MrConferencePurpose
     * @throws
     */
    MrConferencePurpose getMrConferencePurposeById(Integer id);

    /**
     * @title: addMrConferencePurpose
     * @description: 新增培训室目的
     * @date: 2020/12/5 14:09
     * @author: ming.cao
     * @param mrConferencePurpose
     * @return void
     * @throws
     */
    void addMrConferencePurpose(MrConferencePurpose mrConferencePurpose);
    /**
     * @title: updateMrConferencePurpose
     * @description: 更新培训室目的
     * @date: 2020/12/5 14:10
     * @author: ming.cao
     * @param mrConferencePurpose
     * @return void
     * @throws
     */
    void updateMrConferencePurpose(MrConferencePurpose mrConferencePurpose);

    /**
     * @title: delMrConferencePurpose
     * @description: 删除培训室目的
     * @date: 2020/12/5 14:10
     * @author: ming.cao
     * @param purposeId
     * @return void
     * @throws
     */
    void delMrConferencePurpose(int purposeId);
}
